package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.AssetsDao;
import com.bootdo.screen.domain.AssetsDO;
import com.bootdo.screen.service.AssetsService;



@Service
public class AssetsServiceImpl implements AssetsService {
	@Autowired
	private AssetsDao assetsDao;
	
	@Override
	public AssetsDO get(Integer id){
		return assetsDao.get(id);
	}
	
	@Override
	public List<AssetsDO> list(Map<String, Object> map){
		return assetsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return assetsDao.count(map);
	}
	
	@Override
	public int save(AssetsDO assets){
		return assetsDao.save(assets);
	}
	
	@Override
	public int update(AssetsDO assets){
		return assetsDao.update(assets);
	}
	
	@Override
	public int remove(Integer id){
		return assetsDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return assetsDao.batchRemove(ids);
	}
	
}
